﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ASBCC.Database.Entity;
using ASBCC.Database.Service;

namespace BEGDC.CC.Web.EZVisit.SystemTools
{
    public partial class FlowProcessConfigList : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            //setup();
            grdList.DataSource = Flow_ProcessConfigManager.SelectAll(); //Flow_ProcessManager.SelectAll();
        }

        void setup()
        {
            //Flow_ProcessTableEntity entProcess = new Flow_ProcessTableEntity();
            Flow_ProcessConfigTableEntity ent1 = new Flow_ProcessConfigTableEntity();
            ent1.ProcessConfigID = System.Guid.NewGuid();
            ent1.ProcName = "Contract Budget Application";
            ent1.ActivityName = "Submission";
            ent1.ActivityDisplayName = "Submission";
            ent1.ActivityStampName = "Submission";
            Flow_ProcessConfigManager.Insert(ent1);
        }
    }
}
